using System;
using System.Collections.Generic;
using Storage.Core;

namespace Storage.Server
{
	internal interface IStorage : IDisposable
	{
		bool AddOrUpdate(PlainEntity entity);
		bool Delete(Guid id);
		PlainEntity ReadById(Guid id);
		IList<PlainEntity> ReadByType(string type);
	}
}